<!DOCTYPE HTML>
<html>
<#include "headImport.html">
<style>
	.rdjj {
		margin-left:0px;
		width:590px;
	}
	
	.cyxm .dsfc .yxtd {
		margin-left:0px;
		width:100%;
	}
	
	td.titleTd {
		background-color: rgba(30,209,154,1);
    	color: white;
	}
	
	.ds_list table td {
	    text-align: left;
	    line-height: 50px;
	    font-size: 12px;
	    color: #1e1e1e;
	    border-bottom: 1px dotted #c7c7c7;
	    padding-left: 20px;
	}
	
	.ds_list table td.head {
		width: 80px;
	}

a.sjSpan {
    margin-right: 20px;
/*     padding: 10px 10px; */
    display: inline-block;
    float: left;
    line-height: 30px;
    padding-left:10px;
    padding-right:10px;
    margin-top:10px;
    margin-bottom:10px;
}
a.sjSpan:hover {
    color:white;
    background-color: #1c6dc9;
    font-weight: bold;
}
a.allA {
	margin-right: 20px;
    display: inline-block;
    float: left;
    line-height: 30px;
    padding-left:10px;
    padding-right:10px;
    margin-top:10px;
    margin-bottom:10px;
}

a.selectA {
	color:white;
    background-color: #1c6dc9;
    font-weight: bold;
}
.searchDiv {
	float:left;
}

input.search_btn {
	height: 35px;background-color: #1c6dc9;width: 78px;color: white;cursor: pointer;
}

input.search_btn_off {
	height: 35px;background-color: #4e4141;width: 78px;color: white;cursor: pointer;
}

.pl22 {
    padding-left: 22px;
}
</style>
<style>
.cyds {
	margin-top:35px;
}
.dsk-item {
	height: 140px;
	width:100%;
	margin-top: 30px;
}
.dsk-item .item-img{
	width:140px;float:left;
}
.dsk-item .item-desc{
	width:938px;float:left;height: 140px;
}
.dsk-item-location {
	width: 114px;float: left;color:#555;font-size: 15px;
}
.item-desc-1 {
	height: 30px;width: 100%;padding-left:24px;
}
.item-desc-2{
	margin-top: 30px;height: 30px;border-bottom: 1px dotted #c7c7c7;padding-left:24px;
}
.item-desc-1-person{
	width: 800px;float: left;
}
</style>
<script type="text/javascript">
	function searchInstructor() {
		
	}
	var searchTag = "${searchTag!''}";
	function searchTagBtn() {
		var searchTag  = $('#searchTag').val();
// 		console.log(searchTag);
// 		if(searchTag=='') {
// 			alert('请输入查询内容');
// 			return;
// 		}
		skillSearchId = 'skillAll';
		coachingSkills = '';
		technicalField = '';
		techFieldSearchId = 'techFieldAll';
		cityField = "";
		citySearchId = "cityAll";
		selectSearch();
	}
	
	function changeSearchTag() {
		
	}
	var coachingSkills = "${coachingSkills!}";
	var skillSearchId = "${skillSearchId!'skillAll'}";
	function skillSearch(obj) {
		skillSearchId = $(obj).attr("id");
		$("#searchCoachingSkills a").each(function(){
	      $(this).removeClass("selectA"); 
	      if($(this).attr("id")==skillSearchId) {
	    	  $(this).addClass("selectA"); 
	    	  coachingSkills = $(this).attr("value");
	    	  console.log(coachingSkills);
	      }
	    });
		
		selectSearch();
	}
	var technicalField = "${technicalField!}";
	var techFieldSearchId = "${techFieldSearchId!'techFieldAll'}";
	function technicalFieldSearch(obj) {
		techFieldSearchId = $(obj).attr("id");
		$("#searchTechnicalField a").each(function(){
	      $(this).removeClass("selectA"); 
	      if($(this).attr("id")==techFieldSearchId) {
	    	  $(this).addClass("selectA"); 
	    	  technicalField = $(this).attr("value");
	    	  
	    	  console.log(technicalField);
	      }
	    });
		
		selectSearch();
	}
	var cityField = "${cityField!}";
	var citySearchId = "${citySearchId!'cityAll'}";
	function locationSearch(obj) {
		citySearchId = $(obj).attr("id");
		$("#searchCityField a").each(function(){
	      $(this).removeClass("selectA");
	      if($(this).attr("id")==citySearchId) {
	    	  $(this).addClass("selectA"); 
// 	    	  debugger;
	    	  cityField = $(this).attr("value");
	      }
	    });
		
		selectSearch();
	}
	
	function selectSearch() {
		window.location = '${searchUrl!}&cityField='+cityField+'&citySearchId='+citySearchId+'&searchTag='+searchTag+'&skillSearchId='+skillSearchId+'&coachingSkills='+coachingSkills+'&technicalField='+technicalField+'&techFieldSearchId='+techFieldSearchId;
	}
 
</script>
<head>
<body>
<#include "newHeader.html">
<div class="container1100 subMenu" >
	<span style="margin-left:0px;">当前位置：首页<#if (currentNav.parentName)??>&gt;&gt;${(currentNav.parentName)!}</#if>&gt;&gt;${currentNav.name!}</span>
</div>
<div class="container1100 clearfix" style="margin-bottom:10px;"> 
  <section class="ds_list" style="margin-top: 20px;border-top: 0px solid #ff9600;">
      <table cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #eeeeee;"> 
        <tbody>
          <tr>
            <td class="head">辅导特长：</td>
            <td>
            	<div class="searchDiv" id="searchCoachingSkills">
	            	<a class="allA" id="skillAll" value="" onclick="skillSearch($(this))">全部</a>	
	            	<a class="sjSpan" id="skillTrz" value="投融资" onclick="skillSearch($(this))">投融资</a>
	            	<a class="sjSpan" id="skillQyss" value="企业上市" onclick="skillSearch($(this))">企业上市</a>
	            	<a class="sjSpan" id="skillJs" value="技术" onclick="skillSearch($(this))">技术</a>
	            	<a class="sjSpan" id="skillSc" value="市场" onclick="skillSearch($(this))">市场</a>
	            	<a class="sjSpan" id="skillXs" value="销售" onclick="skillSearch($(this))">销售</a>
	            	<a class="sjSpan" id="skillRlzy" value="人力资源" onclick="skillSearch($(this))">人力资源</a>
	            	<a class="sjSpan" id="skillQygl" value="企业管理" onclick="skillSearch($(this))">企业管理</a>
	            	<a class="sjSpan" id="skillFl" value="法律" onclick="skillSearch($(this))">法律</a>
	            	<a class="sjSpan" id="skillCs" value="财税" onclick="skillSearch($(this))">财税</a>
	            	<a class="sjSpan" id="skillZscq" value="知识产权" onclick="skillSearch($(this))">知识产权</a>
	            	<a class="sjSpan" id="skillZqjd" value="政策解读" onclick="skillSearch($(this))">政策解读</a>
	            	<a class="sjSpan" id="skillHyfx" value="行业分析" onclick="skillSearch($(this))">行业分析</a>
	            	<a class="sjSpan" id="skillZlgh" value="战略规划" onclick="skillSearch($(this))">战略规划</a>
	            	<a class="sjSpan" id="skillOther" value="其他" onclick="skillSearch($(this))">其他</a>
            	</div>
            </td>
          </tr>
          <tr>
            <td class="head">技术领域：</td>
            <td>
            	<div class="searchDiv" id="searchTechnicalField">
            	<a class="allA" id="techFieldAll" value="" onclick="technicalFieldSearch($(this))">全部</a>
            	<a class="sjSpan" id="techFieldDzxx" value="电子信息" onclick="technicalFieldSearch($(this))">电子信息</a>
            	<a class="sjSpan" id="techFieldSwyl" value="生物医药" onclick="technicalFieldSearch($(this))">生物医药</a>
            	<a class="sjSpan" id="techFieldXcl" value="新材料" onclick="technicalFieldSearch($(this))">新材料</a>
            	<a class="sjSpan" id="techFieldXnyygxjn" value="新能源与高效节能" onclick="technicalFieldSearch($(this))">新能源与高效节能</a>
            	<a class="sjSpan" id="techFieldXjzz" value="先进制造" onclick="technicalFieldSearch($(this))">先进制造</a>
            	<a class="sjSpan" id="techFieldHthtjjt" value="航空航天及交通" onclick="technicalFieldSearch($(this))">航空航天及交通</a>
            	<a class="sjSpan" id="techFieldGjdyth" value="光机电一体化" onclick="technicalFieldSearch($(this))">光机电一体化</a>
            	<a class="sjSpan" id="techFieldHjbh" value="环境保护" onclick="technicalFieldSearch($(this))">环境保护</a>
            	<a class="sjSpan" id="techFieldDqkjyhy" value="地球空间与海洋" onclick="technicalFieldSearch($(this))">地球空间与海洋</a>
            	<a class="sjSpan" id="techFieldNy" value="农业" onclick="technicalFieldSearch($(this))">农业</a>
            	<a class="sjSpan" id="techFieldSyhg" value="石油化工" onclick="technicalFieldSearch($(this))">石油化工</a>
            	<a class="sjSpan" id="techFieldRwsk" value="人文社科" onclick="technicalFieldSearch($(this))">人文社科</a>
            	<a class="sjSpan" id="techFieldOther" value="其他" onclick="technicalFieldSearch($(this))">其他</a>
            	</div>
            </td>
          </tr>
           <tr>
            <td class="head">所属城市：</td>
            <td>
            	<div class="searchDiv" id="searchCityField">
	            	<a class="allA" id="cityAll" value="" onclick="locationSearch($(this))">全部</a>	
	            	<a class="sjSpan" id="fzs" value="fzs" onclick="locationSearch($(this))">福州市</a>
	            	<a class="sjSpan" id="xms" value="xms" onclick="locationSearch($(this))">厦门市</a>
	            	<a class="sjSpan" id="pts" value="pts" onclick="locationSearch($(this))">莆田市</a>
	            	<a class="sjSpan" id="lys" value="lys" onclick="locationSearch($(this))">龙岩市</a>
	            	<a class="sjSpan" id="qzs" value="qzs" onclick="locationSearch($(this))">泉州市</a>
	            	<a class="sjSpan" id="zzs" value="zzs" onclick="locationSearch($(this))">漳州市</a>
	            	<a class="sjSpan" id="sms" value="sms" onclick="locationSearch($(this))">三明市</a>
	            	<a class="sjSpan" id="nds" value="nds" onclick="locationSearch($(this))">宁德市</a>
	            	<a class="sjSpan" id="nps" value="nps" onclick="locationSearch($(this))">南平市</a>
	            	
            	</div>
            </td>
          </tr>
          <tr>
          	<td colspan="2" style="padding-left: 2px;">
          		 <p><input type="text" onchange="changeSearchTag()" id="searchTag" name="searchTag" value="${searchTag!}" placeholder="请输入搜索内容" style="border: 1px solid #f4f4f4;height: 35px;width: 340px;"><input type="button" id="search_btn" class="search_btn" value="查询"  onclick="searchTagBtn()"></p></p>
          	</td>
          </tr>
        </tbody>
      </table>
    </section>
</div>

<div class="container1100 cyds clearfix"> 
	<section class="pl22">
		<#if dsList??&&(dsList?size>0)>
		<#list dsList as ds>
    	<div class="dsk-item">
    	   <div class="item-img">
    	     <a href="cms.action?skip&navCode=dsXq&dsId=${ds.id!}" target="_blank" class="leftImg" style="width:140px"><img  width="140" height="140" src="${(ds.photoPath)!}" /></a>
    	   </div>
          <div class="item-desc">
          	<div class="item-desc-1">
          		<div class="item-desc-1-person">
	          		<span style="color: #101010;font-size: 18px;">${(ds.name)!}</span>
	          		<span style="color:#888;font-size: 15px;margin-left: 24px;">${(ds.company)!}</span>
          		</div>
          		<div class="dsk-item-location">
          			<@jmax.dc key="MATCH_AREA_CODE" code="${ds.insLocation!}" />
          		</div>
          	</div>
          	<div class="item-desc-2">
          		<div style="width: 800px;float: left;">
          			<span style="font-size: 14px;color:#101010;">${ds.featureDesc!}</span>
          		</div>
          		<div class="dsk-item-location">
          			<@jmax.dc key="CMS_MENTOR_LEVEL" code="${ds.insLevel!}" />
          		</div>
          	</div>
          	
          	<div style="padding-left:24px;margin-top:18px;">
          	  	<span style="color:#555;font-size: 14px;">技术领域：${ds.technicalField!}</span>
          	</div>
          </div>
       </div>
       </#list>
       <#else>
   		查询未匹配合适内容
       </#if>
     </section>
</div>

<#include "pager.html">
<#include "footer.html">
<script type="text/javascript">
$(document).keyup(function(event){  
    if(event.keyCode ==13){  
    	searchTagBtn();  
    }  
  }); 
  
$(function() {
	$("#${skillSearchId!'skillAll'}").addClass("selectA"); 
	$("#${techFieldSearchId!'techFieldAll'}").addClass("selectA"); 
	$("#${citySearchId!'cityAll'}").addClass("selectA"); 
});
 </script>
</body>
</html>